object NameParameterAndDefaultValue {
  def main(args: Array[String]): Unit = {
//    printName("张","三")
//    printName(first = "张",last = "三")
//    printName(last = "三",first = "张")
    defaultValue(10,0.55f)
  }

  def printName(first:String,last:String) = {
    println(first+"  "+last)
  }
  def defaultValue(x:Int=16,y:Float = 0.75F):Unit = {}

}
